package org.realteam.hibernate.test.model.inheritance;

public enum EmployeeStatus {
	
	FULL_TIME("全职", 1),
	
	PART_TIME("兼职", 2),
	
	CONTRACT("合同工", 3);
	
	private String name;
	
	private int value;
	
	private EmployeeStatus(String name, int value) {
		this.name = name;
		this.value = value;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getValue() {
		return value;
	}

	public void setValue(int value) {
		this.value = value;
	}
	
}
